#include "vtor_shell.h"

#ifdef __DEMO_PROJECT__


VtorShell vtorShellArray[] =
{
	(VtorShellFun)VtorShell_Help, "help",
	(VtorShellFun)VtorShell_List, "list",
	(VtorShellFun)VtorShell_Int, "int",
	(VtorShellFun)VtorShell_String, "str",
	(VtorShellFun)VtorShell_Void, "void",
	(VtorShellFun)VtorShell_Call, "call",
	(VtorShellFun)VtorShell_ReadMem, "VtorShell_ReadMem",
	(VtorShellFun)VtorShell_WriteMem, "VtorShell_WriteMem",
	(VtorShellFun)VtorShell_Void, "void",
	(VtorShellFun)VtorShell_Void, "void",
	(VtorShellFun)VtorShell_Void, "void",
	(VtorShellFun)VtorShell_Void, "void",
	(VtorShellFun)VtorShell_Void, "void",
	(VtorShellFun)VtorShell_Void, "void",


	NULL, ""
};


void VtorShell_Init()
{
	vtorShellHeader = vtorShellArray;

}


void VtorShell_PrintString(uint8_t* str)
{
	// VtorString_Print(str); // 方式1
	VtorString_ChanPrintBuffer(0, str, strlen((char*)str)); // 方式2
}


#endif


